package top.itmeans.yes.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import top.itmeans.yes.entity.OrderReturnReason;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 退货原因表 服务类
 * </p>
 *
 * @author Yiming.Cao
 * @since 2022-04-28
 */
public interface OrderReturnReasonService extends IService<OrderReturnReason> {

    int create(OrderReturnReason returnReason);

    int update(Long id, OrderReturnReason returnReason);

    int delete(List<Long> ids);

    Page<OrderReturnReason> list(Integer pageSize, Integer pageNum);

    int updateStatus(List<Long> ids, Integer status);
}
